package com.lottery.game.core.modules.entity.game;

import lombok.Data;

import java.util.Map;

@Data
public class CheckResult {
    private boolean success;
    private String msg;
    private Map<String,Object> map;
    
    

    public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Map<String, Object> getMap() {
		return map;
	}

	public void setMap(Map<String, Object> map) {
		this.map = map;
	}

	public CheckResult(){

    }

    public CheckResult(boolean success) {
        this.success = success;
    }

    public CheckResult(boolean success, String msg, Map<String, Object> map) {
        this.success = success;
        this.msg = msg;
        this.map = map;
    }

    public CheckResult(boolean success, String msg) {
        this.success = success;
        this.msg = msg;
    }
}
